@extends('Home.layout')
@section('content')
<link rel="stylesheet" href="{{ asset('/css/reset.css')}}" />
<link rel="stylesheet" href="{{ asset('/css/timeline.css')}}">
<script src="{{ asset('/js/timeline.js') }}"></script>
 <body>
    <div class="container">
        <ul id="timeline" class="timeline">
        @foreach($content as $row)
            <li>
                <div class="check">
                    <b class="spring"></b>
                    <s></s>
                    <b class="line"></b>
                </div>
                <div class="thumb">
                    @foreach($data as $pic)
                    <img src="{{ $pic -> hd_pic }}" />
                    @endforeach
                    <span>{{ $row -> created_at }}</span>
                </div>
                <div class="content">
                    <b></b>
                    留言者: {{ session()->get('master') -> hd_name }}
                    <h3>{{ $row -> tip }}</h3>

                    <p>{{ $row -> content }}</p>
                </div>
            </li>
        @endforeach
        </ul>
    </div>
@endsection
